package com.mdy.learn.tracker;


/**
 * 提供API 调用，操作tracker，达到采集GPS数据与Sensor数据的目的
 */
public class TripManager {

    private TripTracker tracker;

    public  void startTrip() {
        tracker = new TripTracker();
        tracker.startTracker();
        System.out.println("start trip");
    }

    public  void stopTrip() {
        tracker.stopTracker();
        System.out.println("stop trip");
    }
}
